/**
 * Menu实体类
 * @author yanwl
 * @date 2017-01-22 03:56:28
*/
package com.company.example.model.pojo;

import com.company.example.core.model.IPOJO;

public class Menu implements IPOJO{
    /**
	 * 序列化编号
	 */
	private static final long serialVersionUID = 3064047688739793562L;

	/**
     * 
     */
	private Integer id;
	/**
     * 菜单名称
     */
	private String name;
	/**
     * 菜单跳转路径
     */
	private String url;
	/**
     * 父类ID（0：本身就是父类）
     */
	private Integer parentId;
	/**
     * 优先级
     */
	private Integer priority;
	
	/**
     * 获取 id
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置 id
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }
	/**
     * 获取 name
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置 name
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }
	/**
     * 获取 url
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置 url
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }
	/**
     * 获取 parentId
     * @return parentId
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * 设置 parentId
     * @param parentId
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
	/**
     * 获取 priority
     * @return priority
     */
    public Integer getPriority() {
        return priority;
    }

    /**
     * 设置 priority
     * @param priority
     */
    public void setPriority(Integer priority) {
        this.priority = priority;
    }
}